package mx.netbrain.bean;

import java.io.Serializable;

import javax.faces.context.FacesContext;

import org.primefaces.model.StreamedContent;

public class ImageTypeBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4528867721310952952L;
	private StreamedContent imageType;

	public ImageTypeBean() {
	}

	public StreamedContent getImageType() {
		String id = FacesContext.getCurrentInstance().getExternalContext()
				.getRequestParameterMap().get("type_id");
		System.out.println("id image: " + id);
		return imageType;
	}

	public void setImageType(StreamedContent imageType) {
		this.imageType = imageType;
	}

}
